package cn.com.duiba.millionaire.center.api.dto;

import cn.com.duiba.millionaire.center.api.enums.WithdrawStatusEnum;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by xiaoxuda on 2018/1/31.
 */
public class MillionaireWithdrawDto implements Serializable{
    private static final long serialVersionUID = -7121313917696842628L;

    private Long id;
    /**
     * 用户id
     */
    private Long consumerId;
    /**
     * appId
     */
    private Long appId;
    /**
     * 申请状态
     */
    private WithdrawStatusEnum withdrawStatus;
    /**
     * 金额,分
     */
    private Integer amount;
    /**
     * 开发者扣费金额，分
     */
    private Integer devAmount;
    /**
     * 失败备注
     */
    private String remark;
    /**
     * 提现申请的环境IP
     */
    private String envIp;
    /**
     * 提现申请的User-Agent,截取最多255个字符
     */
    private String envUa;

    private Date gmtCreate;
    private Date gmtModified;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(Long consumerId) {
        this.consumerId = consumerId;
    }

    public Long getAppId() {
        return appId;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public WithdrawStatusEnum getWithdrawStatus() {
        return withdrawStatus;
    }

    public void setWithdrawStatus(WithdrawStatusEnum withdrawStatus) {
        this.withdrawStatus = withdrawStatus;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getDevAmount() {
        return devAmount;
    }

    public void setDevAmount(Integer devAmount) {
        this.devAmount = devAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getEnvIp() {
        return envIp;
    }

    public void setEnvIp(String envIp) {
        this.envIp = envIp;
    }

    public String getEnvUa() {
        return envUa;
    }

    public void setEnvUa(String envUa) {
        this.envUa = envUa;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}
